package com.twl.app.base.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true,dynamicUpdate = true)
@Table(name = "Jsbfmoney")
@SequenceGenerator(name = "instance_sequence", sequenceName = "SEQ_JSBFMONEY_DID", allocationSize = 1)
public class Jsbfmoney implements Serializable{

	/**
	 * （正式员工晋升或者派遣晋升）补发
	 */
	private static final long serialVersionUID = 1L;

	private Integer did ;		//主键
	private String staffint ;  //员工ID
	private String stafftype ;	//员工类型（正式、派遣员工）
	private String stafftypes ;//员工类别（客服、授权、催收）
	private Integer outforworkint ;//晋升月应出勤日
	private String staffpromote ;//员工晋升前基本工资
	private Double promoteint ; //晋升前出勤天数
	private String pbackdou ;//员工晋升后基本工资
	private Double pbackint ; //晋升后出勤天数
	private String amountdou ;//总金额（计算得来）
	private String datemoney ;//日期
	private String desKey;// 密钥
	@Column(name = "Des_Key" )
	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}
	
	public Jsbfmoney() {
		super();
	}
	
	
	public Jsbfmoney(Integer did, String staffint, String stafftype,
			String stafftypes, Integer outforworkint, String staffpromote,
			Double promoteint, String pbackdou, Double pbackint,
			String amountdou, String datemoney) {
		super();
		this.did = did;
		this.staffint = staffint;
		this.stafftype = stafftype;
		this.stafftypes = stafftypes;
		this.outforworkint = outforworkint;
		this.staffpromote = staffpromote;
		this.promoteint = promoteint;
		this.pbackdou = pbackdou;
		this.pbackint = pbackint;
		this.amountdou = amountdou;
		this.datemoney = datemoney;
	}


	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator="instance_sequence")
	public Integer getDid() {
		return did;
	}
	public void setDid(Integer did) {
		this.did = did;
	}
	@Column(name = "staffint")
	public String getStaffint() {
		return staffint;
	}
	public void setStaffint(String staffint) {
		this.staffint = staffint;
	}
	@Column(name = "stafftype")
	public String getStafftype() {
		return stafftype;
	}
	public void setStafftype(String stafftype) {
		this.stafftype = stafftype;
	}
	@Column(name = "stafftypes")
	public String getStafftypes() {
		return stafftypes;
	}
	public void setStafftypes(String stafftypes) {
		this.stafftypes = stafftypes;
	}
	@Column(name = "outforworkint")
	public Integer getOutforworkint() {
		return outforworkint;
	}
	public void setOutforworkint(Integer outforworkint) {
		this.outforworkint = outforworkint;
	}
	@Column(name = "staffpromote")
	public String getStaffpromote() {
		return staffpromote;
	}
	public void setStaffpromote(String staffpromote) {
		this.staffpromote = staffpromote;
	}
	@Column(name = "promoteint")
	public Double getPromoteint() {
		return promoteint;
	}
	public void setPromoteint(Double promoteint) {
		this.promoteint = promoteint;
	}
	@Column(name = "pbackdou")
	public String getPbackdou() {
		return pbackdou;
	}
	public void setPbackdou(String pbackdou) {
		this.pbackdou = pbackdou;
	}
	@Column(name = "pbackint")
	public Double getPbackint() {
		return pbackint;
	}
	public void setPbackint(Double pbackint) {
		this.pbackint = pbackint;
	}
/*	@Column(name = "judgeint")
	public Integer getJudgeint() {
		return judgeint;
	}
	public void setJudgeint(Integer judgeint) {
		this.judgeint = judgeint;
	}*/
	@Column(name = "amountdou")
	public String getAmountdou() {
		return amountdou;
	}
	public void setAmountdou(String amountdou) {
		this.amountdou = amountdou;
	}
	@Column(name = "datemoney")
	public String getDatemoney() {
		return datemoney;
	}
	
	public void setDatemoney(String datemoney) {
		this.datemoney = datemoney;
	}
	
	@Override
	public String toString() {
		return "Jsbfmoney [did=" + did + ", staffint=" + staffint
				+ ", stafftype=" + stafftype + ", stafftypes=" + stafftypes
				+ ", outforworkint=" + outforworkint + ", staffpromote="
				+ staffpromote + ", promoteint=" + promoteint + ", pbackdou="
				+ pbackdou + ", pbackint=" + pbackint + ", amountdou="
				+ amountdou + ", datemoney=" + datemoney + "]";
	}
	 
	
	
}
